package org.example.designPattern.behavioral.strategy;

/*
* 策略模式：定义算法簇，分别封装并允许替换
* */
public class StrategyTest {
    public static void main(String[] args) {
        ServiceImpl service = new ServiceImpl(new ZipResolveStrategy());
        service.resolveFile("http://sdjqjn");
    }
}
